<ion-view view-title="发布" cache-view="false" ng-init="init()">
  <ion-content>
    <section class="g_main">
      <!-- 车主发布编辑 -->
      <section class="truck_line track_line-edit push_info">
        <ul>
          <li ng-click="choosedate()">
            <i class="icon icon_date"></i>
            <h4>装货日期</h4>
            <input disabled  style="width: 160px" ng-model="data.shipment_time_disp"/>
          </li>
        </ul>
        <ul>
          <li ng-click="toMap(0)">
            <i class="icon icon_start"></i>
            <h4>起点</h4>
            <input disabled  style="width: 160px" ng-model="data.src_location_title"/>
          </li>
          <li ng-click="toProvince(1)">
            <i class="icon icon_end"></i>
            <h4>终点</h4>
            <input disabled  style="width: 160px" ng-model="data.dest_location"/>
          </li>
          <li ng-click="to_load()" class="select">
            <i class="icon icon_time"></i>
            <h4>吨位</h4>
            <input disabled  style="width: 160px" ng-model="data.load_disp"/>
          </li>
          <li>
            <i class="icon icon_heavy"></i>
            <h4>价格</h4>
            <input type="number" style="width: 160px" placeholder="不填为面议" ng-model="data.price">
            <span>元</span>
          </li>
        </ul>
        <div  ng-show="data.state === 0">
          <button class="btn_save" ng-click="publish()">重新发布</button>
        </div>
        <button class="btn_save" ng-click="publish()" ng-show="data.state !== 0">发布</button>
        <!-- class="btn_box" div ng-show="data.state" style="font-size: 15px;text-align: center;"><B>您有整车运单在运行中，整车信息见上</B></div-->
      </section>

    </section>
  </ion-content>
</ion-view>
